<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/vue-2.6.10.js"></script>
</head>
<body>
<div id="app">
    <ul>
        <li v-for="(user,index) in users" :key="index">
            {{index}}--{{user.name}}--{{user.age}}--{{user.gender}}
        </li>
    </ul>
    <hr>
    <ul>
        <li v-for="(value,key,index) in person">
            {{index}}--{{key}}--{{value}}
        </li>
    </ul>
</div>
<script type="text/javascript">
    new Vue({
        el: "#app",
        data: {
            users:[
                {"name":"zhangsan","age":33,"gender":"男"},
                {"name":"长颈鹿","age":35,"gender":"男"},
                {"name":"绣眼鸟","age":39,"gender":"男"}

            ],
            person:{"name":"棒球猫","age":33,"gender":"男","address":"中国"}
        },
    });
</script>
</body>
</html>